package byx.container.annotation.InitTest;

import byx.container.annotation.annotation.Init;
import byx.container.annotation.annotation.Order;
import byx.container.annotation.annotation.Register;

@Register
public class D {
    private String s = "hello";

    @Init
    @Order(2)
    public void init1() {
        s += " init1";
    }

    @Init
    @Order(3)
    public void init2() {
        s += " init2";
    }

    @Init
    @Order(1)
    public void init3() {
        s += " init3";
    }

    public String getS() {
        return s;
    }
}
